package com.zhouyong.dubboFramework.pojo;

import java.io.Serializable;

/**
 * 消费者调用生产者的请求参数信息
 *
 * @Author 99
 * @Date 2022/7/27 17:18
 * @Version 1.0
 */
public class Invocation implements Serializable {

    private static final long serialVersionUID = 1L;

    private String interfaceClassName;
    private String methodName;
    private Class<?>[] paramTypeNames;
    private Object[] paramValues;

    public Invocation(String interfaceClassName, String methodName, Class<?>[] paramTypeNames, Object[] paramValues) {
        this.interfaceClassName = interfaceClassName;
        this.methodName = methodName;
        this.paramTypeNames = paramTypeNames;
        this.paramValues = paramValues;
    }

    public String getInterfaceClassName() {
        return interfaceClassName;
    }

    public void setInterfaceClassName(String interfaceClassName) {
        this.interfaceClassName = interfaceClassName;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Class<?>[] getParamTypeNames() {
        return paramTypeNames;
    }

    public void setParamTypeNames(Class<?>[] paramTypeNames) {
        this.paramTypeNames = paramTypeNames;
    }

    public Object[] getParamValues() {
        return paramValues;
    }

    public void setParamValues(Object[] paramValues) {
        this.paramValues = paramValues;
    }
}
